Class NFHeaderv9Impl

All Implemented Interfaces:
IPCData, NFHeaderv9, Pdu, Signal

public class NFHeaderv9Impl extends PduImpl implements NFHeaderv9
  • Field Details

    • flowSetCount

      protected int flowSetCount
    • version

      protected int version
    • upTime

      protected long upTime
    • unixSeconds

      protected long unixSeconds
    • packageSeq

      protected long packageSeq
    • sourceId

      protected int sourceId
  • Constructor Details

    • NFHeaderv9Impl

      public NFHeaderv9Impl()
  • Method Details

    • getFlowSetCount

      public int getFlowSetCount()
      Specified by:
      getFlowSetCount in interface NFHeaderv9
      Returns:
      int Returns a int
    • setFlowSetCount

      public void setFlowSetCount(int flowSetCount)
      Specified by:
      setFlowSetCount in interface NFHeaderv9
      Parameters:
      flowSetCount - Takes in a parameter of flowSetCount
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface NFHeaderv9
      Returns:
      int Returns a int
    • setVersion

      public void setVersion(int version)
      Specified by:
      setVersion in interface NFHeaderv9
      Parameters:
      version - Takes in a parameter of version
    • getUpTime

      public long getUpTime()
      Specified by:
      getUpTime in interface NFHeaderv9
      Returns:
      long Returns a long
    • setUpTime

      public void setUpTime(long upTime)
      Specified by:
      setUpTime in interface NFHeaderv9
      Parameters:
      upTime - Takes in a parameter of upTime
    • getUnixSeconds

      public long getUnixSeconds()
      Specified by:
      getUnixSeconds in interface NFHeaderv9
      Returns:
      long Returns a long
    • setUnixSeconds

      public void setUnixSeconds(long unixSeconds)
      Specified by:
      setUnixSeconds in interface NFHeaderv9
      Parameters:
      unixSeconds - Takes in a parameter of unixSeconds
    • getPackageSeq

      public long getPackageSeq()
      Specified by:
      getPackageSeq in interface NFHeaderv9
      Returns:
      long Returns a long
    • setPackageSeq

      public void setPackageSeq(long packageSeq)
      Specified by:
      setPackageSeq in interface NFHeaderv9
      Parameters:
      packageSeq - Takes in a parameter of packageSeq
    • getSourceId

      public int getSourceId()
      Specified by:
      getSourceId in interface NFHeaderv9
      Returns:
      int Returns a int
    • setSourceId

      public void setSourceId(int sourceId)
      Specified by:
      setSourceId in interface NFHeaderv9
      Parameters:
      sourceId - Takes in a parameter of sourceId
    • getFieldType

      public PtmpTypeValue getFieldType(String fieldName)
      Overrides:
      getFieldType in class PduImpl
    • read

      public void read(EncodedBuffer buffer)
      Reads this object from an EncodedBuffer of raw data
      Specified by:
      read in interface IPCData
      Overrides:
      read in class PduImpl
      Parameters:
      buffer - The EncodedBuffer that contains the raw data from which to construct this object
    • pduRead

      public void pduRead(EncodedBuffer buffer)
      Specified by:
      pduRead in interface Signal
      Overrides:
      pduRead in class PduImpl
    • getOrderedFieldNames

      public List<String> getOrderedFieldNames()
      Specified by:
      getOrderedFieldNames in interface Signal
      Overrides:
      getOrderedFieldNames in class PduImpl
    • encodeTypeAndPayload

      public void encodeTypeAndPayload(EncodedBuffer buffer)
      Specified by:
      encodeTypeAndPayload in interface Signal
      Overrides:
      encodeTypeAndPayload in class PduImpl